package engine.res;

import java.nio.ByteBuffer;
import static engine.GL.*;

public class Bitmap 
{
    
    public int texW;
    public int texH;
    public int texID;
    public int texIndex;
    public ByteBuffer texData;

    public Bitmap(int texid, int texindex, int texWidth, int texHeight, ByteBuffer texdata) 
    {
        texID = texid;
        texIndex = texindex;
        texW = texWidth;
        texH = texHeight;
        texData = texdata;
    }

    public void bind() 
    {
        bindTexture(texID);
    }
    
}
